package com.maple.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.maple.admin.domain.enums.Ostatu;

import java.math.BigDecimal;
import java.util.Date;

@TableName("shop_order")
public class Order {
    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    private Integer uid;

    private Ostatu ostatu;

    private BigDecimal total;

    private Date ptime;

    private String address;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Ostatu getOstatu() {
        return ostatu;
    }

    public void setOstatu(Ostatu ostatu) {
        this.ostatu = ostatu;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public Date getPtime() {
        return ptime;
    }

    public void setPtime(Date ptime) {
        this.ptime = ptime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
